package com.hiltony.web.serviceImpl;

import com.hiltony.web.mapper.ContacterMapper;
import com.hiltony.web.model.Contacter;
import com.hiltony.web.service.ContacterService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by hzyangxin1 on 2016/12/7.
 *
 */
@Service
public class ContacterServiceImp implements ContacterService{


    @Resource
    private ContacterMapper contacterMapper;

    @Override
    public Contacter getContacterById(Contacter contacter) {
        return null;
    }

    @Override
    public List<Contacter> getContacterList(Contacter contacter) {
        return contacterMapper.getMemberContacterList(contacter);
    }

    @Override
    public Contacter addContacter(Contacter contacter) {
        return null;
    }

    @Override
    public int updateContacter(Contacter contacter) {
        return 0;
    }
}
